﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Webform/Layout/DataGridPage.Master" AutoEventWireup="true" CodeBehind="LoginLog.aspx.cs" Inherits="Yule8xWeb.Webform.Security.LoginLog" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content_header" runat="server">
    <h1>安全
    <small>Security</small>
    </h1>
    <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i>首页</a></li>
        <li><a href="#">安全</a></li>
        <li class="active">登录日志</li>
    </ol>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="content" runat="server">
    <div class="box">
        <div class="box-header">
            <div class="row">
                <div class="col-md-5">
                    <button type="button" class="btn btn-danger navbar-btn xsui-btn-multi-delete" data-url="Default.aspx?action=delete&id=varkey" data-option='{"password":"yes","passwordMessage":"请输入口令[yes]"}'>批量删除</button>
                    <button type="button" class="btn btn-success navbar-btn xsui-btn-refresh">刷新</button>
                </div>
                <div class="col-md-7">
                    <form class="navbar-form navbar-right">
                        <div class="form-group">
                            <input type="text" name="word" class="form-control" placeholder="关键词..." title="用户名" value="">
                        </div>
                        <button type="submit" class="btn btn-default">搜索</button>
                    </form>
                </div>
            </div>
        </div>
        <!-- /.box-header -->
        <div class="box-body">
            <table class="xsui-datagrid table table-condensed table-bordered table-striped table-hover">
                <thead>
                    <tr>
                        <th>
                            <input type="checkbox" class="xsui-btn-checking-all" /></th>
                        <th>#</th>
                        <th>用户名</th>
                        <th>登录时间</th>
                        <th>登录IP</th>
                        <th>登录次数</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater runat="server" ID="rptList">
                        <ItemTemplate>

                <tr data-key="{$vo.id}">
                    <td>
                        <input type="checkbox" value="{$vo.id}" /></td>
                    <td title="{$vo.id}"></td>
                    <td title="编号:id;性别:sex;注册日期:regist_time;最后登录:{$vo.login_time};最后IP:{$vo.login_ip}">{$vo.user_name}</td>
                    <td>{$vo.name}</td>
                    <td><a href="{$vo.face_url}" data-lightbox="example-set">
                        <img class="img-responsive img-sm" src="{$vo.face_url}" alt="" /></a></td>
                    <td>{$vo.mobile}</td>
                    <td>{$vo.email}</td>
                    <td>{$vo.login_count}</td>
                    <td>{$vo.login_count}</td>
                    <td>{$vo.role_text}</td>
                    <td>{$vo.department_text}</td>
                    <td>{$vo.online_status_text}</td>
                    <td class="xsui-cell-status"><a href="{:U('User/changeStatus','id='.$vo['id'].'&status=varstatus')}" data-value="{$vo.status}" title="点击隐藏" class="text-success"><i class="fa fa-check fa-fw"></i></a></td>
                    <td class="xsui-action-td">
                        <div class="btn-group">
                            <a class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown" href="#">操作
                                <span class="caret"></span>
                            </a>
                            <ul class="dropdown-menu pull-right" style="min-width: 60px">
                                <li><a href="{:U('edit','id='.$vo['id'])}" class="xsui-btn-edit-dialog" title="编辑提现 - {$vo.user_name}"><span class="glyphicon glyphicon-edit"></span>编辑</a></li>
                                <li><a href="{:U('edit','id='.$vo['id'])}" class="xsui-btn-edit-dialog" title="赠送房卡 - {$vo.user_name}"><span class="glyphicon glyphicon-edit"></span>赠送</a></li>
                                <li><a href="{:U('edit','id='.$vo['id'])}" class="xsui-btn-edit-dialog" title="查看下级提现 - {$vo.user_name}"><span class="glyphicon glyphicon-edit"></span>提现</a></li>
                                <li><a href="{:U('delete','id='.$vo['id'])}" class="xsui-btn-delete" title="删除提现 - {$vo.user_name}"><span class="glyphicon glyphicon-remove"></span>删除</a></li>
                            </ul>
                        </div>
                    </td>
                </tr>
                        </ItemTemplate>
                    </asp:Repeater>
                </tbody>
            </table>
        </div>
        <!-- /.box-body -->
    </div>
    <!-- /.box -->
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="body_foot" runat="server">
</asp:Content>
